package com.atguigu.daijia.payment.service;

import com.atguigu.daijia.model.form.payment.PaymentInfoForm;
import com.atguigu.daijia.model.vo.payment.WxPrepayVo;
import jakarta.servlet.http.HttpServletRequest;

import java.io.IOException;

public interface WxPayService {


	//创建微信支付
	WxPrepayVo createWxPayment(PaymentInfoForm paymentInfoForm);

	//支付状态查询
	Boolean queryPayStatus(String orderNo);

	//微信支付异步通知接口
	void wxnotify(HttpServletRequest request) throws IOException;

	//支付成功后续处理
	void handleOrder(String orderNo);
}
